package UILag;
import java.util.Scanner;
/**
 * 
 * @author (Christian, Umut, Christoffer, Patrick, Simon) 
 * @project (Semesterprojekt)
 * @version (2014.12.10)
 */
public class InputReader
{
    private static InputReader instance; 
    private Scanner sc = new Scanner(System.in);

    /**
     * Constructor for objects of class InputReader.
     */
    private InputReader(){
    }
    
    /**
    * 
    */
    public static InputReader getInstance(){
        if(instance != null){
            return instance;
        }
        return new InputReader();
    }

    /**
    * 
    */
    public String getInput(){
        String input = sc.nextLine();
        return input;
    }
    
    /**
    * 
    */
    public String getInputWithLabel(String label){
        System.out.println(label+":");
        String input = getInput();
        return input;
    }
}
